import os
from util.tools import *
import pytest

if __name__ == '__main__':
    log()
    pytest.main([r"C:\Users\34098\PycharmProjects\jiaqi1\action\Page.py",'-s','--alluredir','./temp'])
    os.system("allure generate -o case")

    pytest.main([r"C:\Users\34098\PycharmProjects\jiaqi1\action\Page.py","-s","--html=case.html"])
    email()